<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

    <!-- script 可以跨域拿文件 -->
    <!-- <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script> -->
  </head>

  <body>
    <h3 id="data">等待数据加载</h3>

    <!-- <img src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F1114%2F060421091316%2F210604091316-8-1200.jpg&refer=http%3A%2F%2Fimg.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1660834352&t=4f7e6f6ee1e5574c3305087949f2ad82" alt=""> -->

    <script>
      function fn(cities) {
        console.log(cities);
      }
    </script>

    <!-- <script src="http://localhost:8000/files/js/hello.txt"></script> -->
    <script src="http://localhost:8000/files/json/cities.txt"></script>
  </body>
</html>
